package ro.grig.downscale;

import java.util.Arrays;

public class MainDownscale {
	public static void main(String[] args) {
		System.out
				.println("Start. Argumentele sunt: 'fisier csv statie','target rain value','fisier rain iesire' ");
		System.out.println("Args:" + Arrays.toString(args));
		RunDownscale runner = new RunDownscale();
		runner.readHourlyRain(args[0]);
		runner.doDownscaling(Double.parseDouble(args[1]));
		try {
			runner.writeResult(args[2]);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println("End.");
	}
}
